package com.bto.solar.work.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 王小波
 * @description:
 * @date 2023/11/27 9:23
 */

@Data
@Component
@ConfigurationProperties(prefix = "bto")
public class ConfigParams {
    @Value("${bto.allow-update-order-info-user-ids}")
    private String allowUpdateOrderInfoUserIds;

    @Value("${bto.default-password}")
    private String defaultPassword;

    @Value(value = "${bto.sto-proxy-url}" )
    public String stoProxyUrl;

    @Value("${bto.login-role-name-list}")
    private String loginRoleNames;

    @Value("${bto.login-permissions-name-list}")
    private String loginPermissionsNames;

}
